//
//  CALayer+Util.m
//  CarUser
//
//  Created by ayi on 2018/12/24.
//  Copyright © 2018 王森林. All rights reserved.
//

#import "CALayer+Util.h"

@implementation CALayer (Util)

- (void)addCustomImageViewLayerAnimation{
    CATransition *transition = [CATransition animation];
    transition.type = kCATransitionFade;
    transition.duration = 0.3;
    transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    [self addAnimation:transition forKey:nil];
}


@end
